Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(spark-connector):support JDBC catalog #6212

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

liangyouze
Copy link
Contributor

@liangyouze liangyouze commented Jan 13, 2025

What changes were proposed in this pull request?

Support JDBC catalog in Spark Connector

Why are the changes needed?

Fix: #1572 #6164

Does this PR introduce any user-facing change?

no

How was this patch tested?

TestJdbcPropertiesConverter
SparkJdbcCatalogIT

@FANNG1
Copy link
Contributor

FANNG1 commented Jan 13, 2025

Thanks for your PR, could you add corresponding IT? You could refer to SparkHiveCatalogIT

add integeration test
@shaofengshi
Copy link
Contributor

The code looks clean; looking forward to have it.

@@ -39,6 +39,9 @@ val scalaCollectionCompatVersion: String = libs.versions.scala.collection.compat

dependencies {
implementation(project(":catalogs:catalog-common"))
implementation(project(":catalogs:catalog-jdbc-common")) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

catalogs:catalog-jdbc-common is the module of Gravitino server, why adding this dependences?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@FANNG1 FANNG1 Jan 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to fix the IT failures, we could checkout the errors in server side. you could download the log in https://github.com/apache/gravitino/actions/runs/12900772663?pr=6212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] [spark-connector] support JDBC catalog
3 participants